package com.go.manaservice.service.impl;


import com.go.manaservice.entity.result.BusAdminRes;
import com.go.manaservice.entity.vo.BusAdminQuery;
import com.go.manaservice.mapper.AdminMapper;
import com.go.manaservice.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ZhengYuXiang
 * @version 1.0
 * @date 2021/12/26 10:37 下午
 */
@Service
public class AdminServiceImp implements AdminService {
    @Autowired
    private AdminMapper adminMapper;

    @Override
    public BusAdminRes login(BusAdminQuery busAdminQuery) {

        BusAdminRes loginAdminRes = adminMapper.login(busAdminQuery);

        return loginAdminRes;
    }
}

